projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62971dd
)
gtk-demo: This is not a unique app
author
Benjamin Otte
<otte@redhat.com>
Sat, 12 Jul 2014 05:12:49 +0000
(07:12 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 12 Jul 2014 05:13:28 +0000
(07:13 +0200)
When running gtk-demo a 2nd time, it's usually to compare its
output with a different version of gtk-demo.
demos/gtk-demo/main.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/main.c
b/demos/gtk-demo/main.c
index 1f3a8210f9aa00c5317fd901698bb2c1cd5ba4e3..7f576f6096c1f674c236fa594c12c3b21d19fbc5 100644
(file)
--- a/
demos/gtk-demo/main.c
+++ b/
demos/gtk-demo/main.c
@@
-1021,7
+1021,7
@@
main (int argc, char **argv)
}
/* -- End of hack -- */
- app = gtk_application_new ("org.gtk.Demo",
0
);
+ app = gtk_application_new ("org.gtk.Demo",
G_APPLICATION_NON_UNIQUE
);
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries, G_N_ELEMENTS (app_entries),